<div class='search' style="margin:10px;">
<fieldset>
<h2> Search <?php echo$this->params['controller'] ?></h2><hr/>
<?php echo $this->Form->create(array('action' => 'index', 'type' => 'GET')); ?>
 <?php
 $name = isset($this->params['url']['name']) ? $this->params['url']['name'] : null;
 echo $this->Form->input('id', array( 'label'=>'ID','type'=>'text'));
 echo $this->Form->input('username', array('label'=>'Name','value'=>$name));
 echo $this->Form->submit('Search',array('class'=>'button'));
 ?>
 
<?php echo $this->Form->end(); ?>
</fieldset>
</div>
<br/>